package cn.edu.neusoft.demo.hospital2.pojo.dto;

import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Data
public class DepartmentUpdateDTO {
    @NotNull(message = "科室ID不能为空")
    private Integer departmentId;

    @NotBlank(message = "科室名称不能为空")
    private String departmentName;

    @NotNull(message = "科室级别不能为空")
    private Integer level;

    private Integer parentId;
}
